docs: regenerate the two notebooks with mangled code cells - #62
Merged
Conversation
`chapter_2_lens_modeling/tutorial_4_dealing_with_failure.ipynb` and `simulator/source_complex.ipynb` each had a code cell containing a literal `# %%` and `'''` — a SyntaxError for anyone who ran it. Their scripts open a docstring on the line immediately after code, which the generator failed to split into its own markdown cell (fixed in PyAutoLabs/PyAutoHands#214). No script in this repo carries the `Finished.` / `Finish.` crutch, so this is a regeneration only. Refs PyAutoLabs/PyAutoHands#211 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013XzXdQMU3KV2tyZaMNPvsM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No script in this repo carries the
Finished./Finish.crutch, so this is a regeneration only — but two of its notebooks were broken by the generator bug fixed in PyAutoLabs/PyAutoHands#214.chapter_2_lens_modeling/tutorial_4_dealing_with_failure.ipynbandsimulator/source_complex.ipynbeach had a code cell containing a literal# %%and'''— aSyntaxErrorfor any reader who ran it. Their scripts open a docstring on the line immediately after code, andpy2nbnever split it into its own markdown cell.This repo is also the cleanest evidence that the PyAutoHands fix does not churn: regenerating all 41 notebooks changes exactly these 2 files and nothing else, and
llms-full.txt/workspace_index.jsoncome out byte-identical.Merge order
PyAutoLabs/PyAutoHands#214 merges first — this repo invokes
../PyAutoHands/autohands/generate.pyfrom the local checkout.Part of PyAutoLabs/PyAutoHands#211.
🤖 Generated with Claude Code
https://claude.ai/code/session_013XzXdQMU3KV2tyZaMNPvsM